# Contributor: David Florness <david@florness.com>
# Maintainer: David Florness <david@florness.com>
pkgname=py3-ifaddr
pkgver=0.2.0
pkgrel=3
pkgdesc="Enumerates all IP addresses on all network adapters of the system"
url="https://github.com/pydron/ifaddr"
arch="noarch"
license="MIT"
options="!check"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://github.com/pydron/ifaddr/archive/$pkgver/ifaddr-$pkgver.tar.gz"
builddir="$srcdir/ifaddr-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root="$pkgdir" --skip-build
}

sha512sums="
47d26932ecf1aabbbecc738ac0d9a6d276f3e3131650b76896553db3f17392916357d31991d7098ff3efa1cb6bec20a41848be03221d179c2f454f94a39cb587  ifaddr-0.2.0.tar.gz
"
